const express = require("express");
const admin = express.Router();
admin.get("/", (req, res) => {
  res.render("admin/login");
});

admin.post("/", (req, res) => {
  res.send(req.body);
});
admin.get("/user", (req, res) => {
  res.render("admin/user");
});
module.exports = admin;